package com.ruoyi.web.article.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
        import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.web.article.mapper.TrainArticleReadRecordMapper;
import com.ruoyi.web.article.domain.TrainArticleReadRecord;
import com.ruoyi.web.article.service.ITrainArticleReadRecordService;

/**
 * 文章阅读数量Service业务层处理
 *
 * @author 范书铭
 * @date 2024-10-13
 */
@Service
public class TrainArticleReadRecordServiceImpl extends ServiceImpl<TrainArticleReadRecordMapper, TrainArticleReadRecord> implements ITrainArticleReadRecordService {
    @Autowired
    private TrainArticleReadRecordMapper trainArticleReadRecordMapper;


    /**
     * 查询文章阅读数量列表
     *
     * @param trainArticleReadRecord 文章阅读数量
     * @return 文章阅读数量
     */
    @Override
    public List<TrainArticleReadRecord> selectTrainArticleReadRecordList(TrainArticleReadRecord trainArticleReadRecord) {
        return trainArticleReadRecordMapper.selectTrainArticleReadRecordList(trainArticleReadRecord);
    }
}